// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import store from './store'
// import './plugins/element.js'
import './plugins/elements'
import 'element-ui/lib/theme-chalk/index.css'
import './directive/throttle'
// import VueCodemirror from 'vue-codemirror'
// import 'codemirror/lib/codemirror.css'
// Vue.use(VueCodemirror)
import 'vue-orgchart/dist/style.min.css'
import Toast from './common/toast'
import VueBus from 'vue-bus'
// import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(VueBus)
Vue.use(Toast)
//Vue.use(ElementUI)
Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
    el: '#app',
    router,
    store,
    components: { App },
    template: '<App/>'
})